package com.hit.widget;

import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;
import android.widget.TextView;

public class HitTextView extends TextView {

	public HitTextView(Context context) {
		super(context);
	}

	public HitTextView(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	public HitTextView(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
	}

	@Override
	public void setTypeface(Typeface tf) {
		Typeface font = Typeface.createFromAsset(getContext().getAssets(),
				"Roboto-Light.ttf");
		super.setTypeface(font);
	}
	@Override
	public void setTypeface(Typeface tf, int style) {
		Typeface font = Typeface.createFromAsset(getContext().getAssets(),
				"Roboto-Light.ttf");
		super.setTypeface(font, style);
	}

}
